#pragma once
#include <Winsock2.h>
#include <stdio.h>

class Jcop
{
public:
	SOCKET sockClient;
	Jcop(void);
	void Connect(int port);
	void ATR(char* data,short* len);
	void Send(char* data,int len);
	void Recv(char* data,short* len);
	short APDU_T0(unsigned char* datain,int datalen,unsigned char* resp,short* respLen);
	~Jcop(void);
};

